package com.gxa.service.zijinservice;

import com.gxa.common.R;
import com.gxa.pojo.ShouKuanDan;

/**
 * @author zhaohaoc
 * @version 1.0
 * @date 2022/4/2 11:26
 */
public interface ShouKuanService {

    /**
     * 查询所有客户
     * @return
     */
    R selectAllKeHu();

    /**
     * 查询收款结算账户
     * @return
     */
    R selectAllZhangHu();

    /**
     * 查询结算方式
     * @return
     */
    R selectJieSuanWay();

    /**
     * 查询收款单信息
     * @return
     */
    R selectShouKuanDan(String startTime,String endTime,String shouKuanDanBianHao,String keHuMingCheng,
                        String shouKuanDanBeiZhu);

    /**
     * 查询销货单信息
     * @return
     */
    R selectXiaoHuoDan(String startTime,
                       String endTime,
                       String keHuMingCheng,
                       String xiaoHuoDanBianHao);

    /**
     * 删除收款单信息
     * @return
     */
    R delShouKuanDanByBianHao(String shouKuanDanBianHao);

    /**
     * 新增收款单信息
     * @return
     */

    R insertShuoKuanDan(ShouKuanDan shouKuanDan);

    /**
     * 修改收款单信息
     * @return
     */

    R updateShuoKuanDan(ShouKuanDan shouKuanDan);

}
